//
//  DKQuickLoginBtn.m
//  BS1
//
//  Created by 丁侃 on 16/4/26.
//  Copyright © 2016年 丁侃. All rights reserved.
//

#import "DKQuickLoginBtn.h"

@implementation DKQuickLoginBtn
-(void)awakeFromNib
{
    self.titleLabel.textAlignment = NSTextAlignmentCenter;
}

-(void)layoutSubviews
{
    [super layoutSubviews];
    
    //重新布局按钮的位置
    
    self.imageView.dk_y = 0;
    self.imageView.dk_centerX = self.dk_width * 0.5;
    
    self.titleLabel.dk_x = 0;
    self.titleLabel.dk_width = self.dk_width;
    self.titleLabel.dk_y = self.imageView.dk_height;
}


@end
